package com.example.aigc_education.domain.request;
import javax.validation.constraints.*;
import lombok.Data;

import javax.validation.constraints.Future;
import javax.validation.constraints.Size;
import java.time.LocalDate;

@Data
public class AddTodoRequest {
    @NotNull(message = "Title cannot be null")
    @Size(min = 1, max = 100, message = "Title must be between 1 and 100 characters")
    private String title;

    private String icon;

    @NotNull(message = "Priority cannot be null")
    private String priority;

    private LocalDate deadline;

    @NotNull(message = "Todo type cannot be null")
    private String todoType;

    private Boolean focusMode;

    private String timerMode;

    private Integer targetTime;

    private Integer pomodoroLength;
}
